Microprocessor prosthetic knee